import config from 'config'
import httpFetch from 'share/httpFetch'

export default {
  //获取公司模式下表单列表
  getFormList(params){
    return httpFetch.get(`${config.baseUrl}/api/custom/forms/approval/search`, params)
  },

  //复制工作流
  copyWorkFlow(data){
    return httpFetch.post(`${config.baseUrl}/brms/api/rule/branch/approval/chains/copy`, data)
  }
}
